package com.design.decorator;

/**
 * @ClassName Client.java
 * @Description
 * @author Jon
 * @date 2018年6月18日 下午5:09:01
 */
public class Client {
	public static void main(String[] args) {
		Component component = new ConcreteComponet();
		component = new ConcreteDecorator1(component);
		component = new ConcreteDecorator2(component);
		component.operate();
	}
}
